﻿using System;
using System.Collections.Generic;
using mvcForum.Core.Interfaces.Data;
using mvcForum.DataProvider.EntityFramework.Repositories;
using mvcForum.Core.Interfaces.DependencyManagement;

namespace mvcForum.DataProvider.EntityFramework {

	public class SpecificRepositoryConfiguration : IDependencyBuilder {

		public virtual void Configure(IDependencyContainer container) {
			container.Register<ITopicRepository, TopicRepository>();
			container.Register<IPostRepository, PostRepository>();
			container.Register<IForumRepository, ForumRepository>();
			container.Register<IBoardRepository, BoardRepository>();
		}

		public void ValidateRequirements(IList<ApplicationRequirement> feedback) { }
	}
}